import type { ElementType } from 'react';
import type { CommonProps } from '../common';

export interface FeedOptions extends CommonProps {
  /**
   * 尺寸大小
   */
  size?: 'small' | 'large';
  /**
   * 深色背景
   */
  inverted?: boolean;
}

export type FeedEventOptions = CommonProps;

export type FeedLabelOptions = CommonProps;

export type FeedContentOptions = CommonProps;

export type FeedSummaryOptions = CommonProps;

export interface FeedUserOptions extends CommonProps {
  /**
   * 标签或组件名称
   * @default a
   */
  as?: ElementType;
}

export type FeedDateOptions = CommonProps;

export type FeedMetaOptions = CommonProps;

export interface FeedLikeOptions extends CommonProps {
  /**
   * 标签或组件名称
   * @default a
   */
  as?: ElementType;
}

export interface FeedExtraOptions extends CommonProps {
  /**
   * 文本
   */
  text?: boolean;
  /**
   * 图像
   */
  images?: boolean;
}
